package cn.home.resident.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.home.common.annotation.Excel;
import cn.home.common.core.domain.BaseEntity;

/**
 * 居民对象 home_user
 * 
 * @author homedoctor
 * @date 2025-04-09
 */
public class HomeUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 头像 */
    @Excel(name = "头像")
    private String avator;

    /** 身份证号 */
    @Excel(name = "身份证号")
    private String idcard;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 行政区域 */
    @Excel(name = "行政区域")
    private String region;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 性别 */
    @Excel(name = "性别")
    private Long sex;

    /** 生日 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "生日", width = 30, dateFormat = "yyyy-MM-dd")
    private Date birthday;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String place;

    /** 民族 */
    @Excel(name = "民族")
    private String ethnic;

    /** 文化程度:数据字典 */
    @Excel(name = "文化程度:数据字典")
    private Long culture;

    /** 婚姻状况:数据字典 */
    @Excel(name = "婚姻状况:数据字典")
    private Long marry;

    /** 职业 */
    @Excel(name = "职业")
    private String occupation;

    /** 工作单位 */
    @Excel(name = "工作单位")
    private String workplace;

    /** 紧急联系人姓名 */
    @Excel(name = "紧急联系人姓名")
    private String urgent;

    /** 紧急联系人电话 */
    @Excel(name = "紧急联系人电话")
    private String urgenttel;

    /** 户籍类型:数据字典 */
    @Excel(name = "户籍类型:数据字典")
    private Long household;

    /** 费用类型:数据字典 */
    @Excel(name = "费用类型:数据字典")
    private Long expense;

    /** 定点医疗单位 */
    @Excel(name = "定点医疗单位")
    private String medicalunits;

    /** 来源:数据字典 */
    @Excel(name = "来源:数据字典")
    private Long source;

    /** cm身高 */
    @Excel(name = "cm身高")
    private Long height;

    /** kg体重 */
    @Excel(name = "kg体重")
    private Long weight;

    /** 血型 */
    @Excel(name = "血型")
    private String blood;

    /** RH阴性:是否 1是 0否 */
    @Excel(name = "RH阴性:是否 1是 0否")
    private Long RH;

    /** 过敏史 */
    @Excel(name = "过敏史")
    private String allergies;

    /** 既往史 */
    @Excel(name = "既往史")
    private String past;

    /** 就诊史 */
    @Excel(name = "就诊史")
    private String consultation;

    /** 家族史 */
    @Excel(name = "家族史")
    private String famliypast;

    /** 账号id可以为空 */
    @Excel(name = "账号id可以为空")
    private Long sysUserId;

    /** 父id */
    @Excel(name = "父id")
    private Long parent;

    /** 配偶id */
    @Excel(name = "配偶id")
    private Long spouse;

    /** 手机号 */
    @Excel(name = "手机号")
    private String tel;

    private List<String> tags;
    private Integer status;
    public Integer getStatus() {
        return status;
    }
    public void setStatus(Integer status) {
        this.status = status;
    }
public  List<String> getTags() {
	return tags;
}
public void setTags(List<String> tags) {
	this.tags = tags;
}
    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setAvator(String avator) 
    {
        this.avator = avator;
    }

    public String getAvator() 
    {
        return avator;
    }

    public void setIdcard(String idcard) 
    {
        this.idcard = idcard;
    }

    public String getIdcard() 
    {
        return idcard;
    }

    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }

    public void setRegion(String region) 
    {
        this.region = region;
    }

    public String getRegion() 
    {
        return region;
    }

    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }

    public void setBirthday(Date birthday) 
    {
        this.birthday = birthday;
    }

    public Date getBirthday() 
    {
        return birthday;
    }

    public void setPlace(String place) 
    {
        this.place = place;
    }

    public String getPlace() 
    {
        return place;
    }

    public void setEthnic(String ethnic) 
    {
        this.ethnic = ethnic;
    }

    public String getEthnic() 
    {
        return ethnic;
    }

    public void setCulture(Long culture) 
    {
        this.culture = culture;
    }

    public Long getCulture() 
    {
        return culture;
    }

    public void setMarry(Long marry) 
    {
        this.marry = marry;
    }

    public Long getMarry() 
    {
        return marry;
    }

    public void setOccupation(String occupation) 
    {
        this.occupation = occupation;
    }

    public String getOccupation() 
    {
        return occupation;
    }

    public void setWorkplace(String workplace) 
    {
        this.workplace = workplace;
    }

    public String getWorkplace() 
    {
        return workplace;
    }

    public void setUrgent(String urgent) 
    {
        this.urgent = urgent;
    }

    public String getUrgent() 
    {
        return urgent;
    }

    public void setUrgenttel(String urgenttel) 
    {
        this.urgenttel = urgenttel;
    }

    public String getUrgenttel() 
    {
        return urgenttel;
    }

    public void setHousehold(Long household) 
    {
        this.household = household;
    }

    public Long getHousehold() 
    {
        return household;
    }

    public void setExpense(Long expense) 
    {
        this.expense = expense;
    }

    public Long getExpense() 
    {
        return expense;
    }

    public void setMedicalunits(String medicalunits) 
    {
        this.medicalunits = medicalunits;
    }

    public String getMedicalunits() 
    {
        return medicalunits;
    }

    public void setSource(Long source) 
    {
        this.source = source;
    }

    public Long getSource() 
    {
        return source;
    }

    public void setHeight(Long height) 
    {
        this.height = height;
    }

    public Long getHeight() 
    {
        return height;
    }

    public void setWeight(Long weight) 
    {
        this.weight = weight;
    }

    public Long getWeight() 
    {
        return weight;
    }

    public void setBlood(String blood) 
    {
        this.blood = blood;
    }

    public String getBlood() 
    {
        return blood;
    }

    public void setRH(Long RH) 
    {
        this.RH = RH;
    }

    public Long getRH() 
    {
        return RH;
    }

    public void setAllergies(String allergies) 
    {
        this.allergies = allergies;
    }

    public String getAllergies() 
    {
        return allergies;
    }

    public void setPast(String past) 
    {
        this.past = past;
    }

    public String getPast() 
    {
        return past;
    }

    public void setConsultation(String consultation) 
    {
        this.consultation = consultation;
    }

    public String getConsultation() 
    {
        return consultation;
    }

    public void setFamliypast(String famliypast) 
    {
        this.famliypast = famliypast;
    }

    public String getFamliypast() 
    {
        return famliypast;
    }

    public void setSysUserId(Long sysUserId) 
    {
        this.sysUserId = sysUserId;
    }

    public Long getSysUserId() 
    {
        return sysUserId;
    }

    public void setParent(Long parent) 
    {
        this.parent = parent;
    }

    public Long getParent() 
    {
        return parent;
    }

    public void setSpouse(Long spouse) 
    {
        this.spouse = spouse;
    }

    public Long getSpouse() 
    {
        return spouse;
    }

    public void setTel(String tel) 
    {
        this.tel = tel;
    }

    public String getTel() 
    {
        return tel;
    }

    public Long getAge() {
        return age;
    }

    public void setAge(Long age) {
        this.age = age;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("avator", getAvator())
            .append("idcard", getIdcard())
            .append("address", getAddress())
            .append("region", getRegion())
            .append("sex", getSex())
            .append("birthday", getBirthday())
            .append("place", getPlace())
            .append("ethnic", getEthnic())
            .append("culture", getCulture())
            .append("marry", getMarry())
            .append("occupation", getOccupation())
            .append("workplace", getWorkplace())
            .append("urgent", getUrgent())
            .append("urgenttel", getUrgenttel())
            .append("household", getHousehold())
            .append("expense", getExpense())
            .append("medicalunits", getMedicalunits())
            .append("source", getSource())
            .append("height", getHeight())
            .append("weight", getWeight())
            .append("blood", getBlood())
            .append("RH", getRH())
            .append("allergies", getAllergies())
            .append("past", getPast())
            .append("consultation", getConsultation())
            .append("famliypast", getFamliypast())
            .append("sysUserId", getSysUserId())
            .append("parent", getParent())
            .append("spouse", getSpouse())
            .append("tel", getTel())
            .toString();
    }
}
